<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="root">
    <h2>Hello,{{message}}!</h2>
    <!--我们一般不用v-text，因为不够灵活。把里面的内容会被覆盖掉 -->
    <h2 v-text="message">Hello,!</h2>
  </div>
  <script src="../practice_project/js/vue.js"></script>
  <script>
    const root = new Vue({
      el: '#root',
      data: {
        message: 'Vue.js'
      }
    })
  </script>
</body>

</html>